package com.example.data.factory.entity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author lhy
 * @since 2025-04-21
 */
@Getter
@Setter
@TableName("node_parameter")
@ApiModel(value = "NodeParameter对象", description = "")
public class NodeParameter implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("参数id")
    @TableId(value = "param_id", type = IdType.AUTO)
    private Integer paramId;

    @ApiModelProperty("所属节点id")
    private Integer nodeId;

    @ApiModelProperty("参数名称")
    private String paramName;

    @ApiModelProperty("接口参数id")
    private Integer interfaceId;

    @ApiModelProperty("脚本id	")
    private Integer scriptId;

    @ApiModelProperty("数据资产id")
    private Integer dataAccetInfoId;

    @ApiModelProperty("数据库")
    private Integer databaseInfoId;

    @ApiModelProperty("相关数据的名称")
    private String commonName;
}
